<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="java.util.List"%>
<%@page import="com.shsh.safemanage.dao.DaoCreator"%>
<%@page import="com.shsh.safemanage.dao.AccidentDao"%>
<%@page import="com.shsh.safemanage.model.AccidentType"%>
<%
{
	AccidentDao innerAccidentDao = DaoCreator.createAccidentDao();
	List<AccidentType> innerTypeList = innerAccidentDao.getAccidentTypeList();
%>

					<select id="accidentType">
						<option value="" selected="selected">-请选择事故类型-</option>
					<%for (AccidentType accidentType : innerTypeList) {%>
						<option value="<%=accidentType.getId()%>"><%=accidentType.getAccidentType()%></option>
					<%} %>
					</select>
<%
}
%>